window.ADF = window.ADF || {};
ADF.control = ADF.control || {};
ADF.domControl = ADF.domControl || {};
ADF.model = ADF.model || {};
ADF.policy = ADF.policy || {};
ADF.editpart = ADF.editpart || {};
ADF.figure = ADF.figure || {};
ADF.modalRenderer = ADF.modalRenderer || {};


ADF.tool = ADF.tool || {};
ADF.property = ADF.property || {};
ADF.propertyDescriptor = ADF.propertyDescriptor || {};
ADF._modalRendererMap = {};

ADF.util = ADF.util || {};

ADF.registerModalRenderer = function(id, instance){
    ADF._modalRendererMap[id] = instance;
}

ADF.getModalRenderer = function(id){
    return ADF._modalRendererMap[id];
}

